package com.cyc.service;

import com.cyc.entity.Product;

import java.util.List;

public interface ProductService {
    List<Product> selectAll();
    List<Product> selectByCategoryId(Integer id);
    Product selectByPrimaryKey(Integer id);
    int deleteByPrimaryKey(Integer id);
    int deleteByCateId(Integer id);
    int insert(Product record);
    int updateByPrimaryKey(Product record);
}
